#pragma once
namespace SWT {
	static const int None = 0;
	static const int KeyDown = 1;
	static const int KeyUp = 2;
	static const int MouseDown = 3;
	static const int MouseUp = 4;
	static const int MouseMove = 5;
	static const int MouseEnter = 6;		
	static const int MouseExit = 7;
	static const int MouseDoubleClick = 8;	
	static const int Paint = 9;	
	static const int Move = 10;
	static const int Resize = 11;
	static const int Dispose = 12;
	static const int Selection = 13;
	static const int DefaultSelection = 14;
	static const int FocusIn = 15;
	static const int FocusOut = 16;
	static const int Expand = 17;
	static const int Collapse = 18;
	static const int Iconify = 19;
	static const int Deiconify = 20;
	static const int Close = 21;
	static const int Show = 22;
	static const int Hide = 23;
	static const int Modify = 24;
	static const int Verify = 25;
	static const int Activate = 26;
	static const int Deactivate = 27;	
	static const int Help = 28;
	static const int DragDetect = 29;
	static const int Arm = 30;
	static const int Traverse = 31;
	static const int MouseHover = 32;
	static const int HardKeyDown = 33;
	static const int HardKeyUp = 34;
	static const int MenuDetect = 35;
	static const int SetData = 36;
	static const int MouseVerticalWheel = 37;
	static const int MouseHorizontalWheel = 38;
	static const int MouseWheel = MouseVerticalWheel;
	static const int Settings = 39;
	static const int EraseItem = 40;
	static const int MeasureItem = 41;
	static const int PaintItem = 42;	
	static const int ImeComposition = 43;
	static const int OrientationChange = 44;
	static const int Skin = 45;
	static const int OpenDocument = 46;
	static const int COMPOSITION_CHANGED = 1;
	static const int COMPOSITION_OFFSET = 2;
	static const int COMPOSITION_SELECTION = 3;
	static const int DRAG = 1;
	static const int SELECTED = 1 << 1;
	static const int FOCUSED = 1 << 2;
	static const int BACKGROUND = 1 << 3;
	static const int FOREGROUND = 1 << 4;
	static const int HOT = 1 << 5;
	static const int TRAVERSE_NONE = 0;
	static const int TRAVERSE_ESCAPE = 1 << 1;
	static const int TRAVERSE_RETURN = 1 << 2;
	static const int TRAVERSE_TAB_PREVIOUS = 1 << 3;
	static const int TRAVERSE_TAB_NEXT = 1 << 4;
	static const int TRAVERSE_ARROW_PREVIOUS = 1 << 5;
	static const int TRAVERSE_ARROW_NEXT = 1 << 6;
	static const int TRAVERSE_MNEMONIC = 1 << 7;
	static const int TRAVERSE_PAGE_PREVIOUS = 1 << 8;
	static const int TRAVERSE_PAGE_NEXT = 1 << 9;
	static const int CHANGED = 1 << 1;
	static const int DEFER = 1 << 2;
	static const int NONE = 0;
	//static const int NULL = 0;
	static const int DEFAULT = -1;
	static const int OFF = 0;
	static const int ON = 1;
	static const int LOW = 1;
	static const int HIGH = 2;
	static const int BAR = 1 << 1;
	static const int DROP_DOWN = 1 << 2;
	static const int POP_UP = 1 << 3;
	static const int SEPARATOR = 1 << 1;
	static const int TOGGLE = 1 << 1;
	static const int ARROW = 1 << 2;
	static const int PUSH = 1 << 3;
	static const int RADIO = 1 << 4;
	static const int CHECK = 1 << 5;
	static const int CASCADE = 1 << 6;
	static const int MULTI = 1 << 1;
	static const int SINGLE = 1 << 2;
	static const int READ_ONLY = 1 << 3;
	static const int WRAP = 1 << 6;
	static const int SEARCH = 1 << 7;
	static const int SIMPLE = 1 << 6;
	static const int PASSWORD = 1 << 22;
	static const int SHADOW_IN = 1 << 2;
	static const int SHADOW_OUT = 1 << 3;
	static const int SHADOW_ETCHED_IN = 1 << 4;
	static const int SHADOW_ETCHED_OUT = 1 << 6;
	static const int SHADOW_NONE = 1 << 5;
	static const int INDETERMINATE = 1 << 1;
	static const int TOOL = 1 << 2; 
	static const int NO_TRIM = 1 << 3;
	static const int RESIZE = 1 << 4;
	static const int TITLE = 1 << 5;
	static const int CLOSE = 1 << 6;
	static const int MENU = CLOSE;
	static const int MIN = 1 << 7;
	static const int MAX = 1 << 10;
	static const int H_SCROLL = 1 << 8;
	static const int V_SCROLL = 1 << 9;
	static const int NO_SCROLL = 1 << 4;
	static const int BORDER = 1 << 11;
	static const int CLIP_CHILDREN = 1 << 12; 
	static const int CLIP_SIBLINGS = 1 << 13;
	static const int ON_TOP = 1 << 14;
	static const int SHEET = 1 << 28;
	static const int SHELL_TRIM = CLOSE | TITLE | MIN | MAX | RESIZE;
	static const int DIALOG_TRIM = TITLE | CLOSE | BORDER;
	static const int MODELESS = 0;
	static const int PRIMARY_MODAL = 1 << 15;
	static const int APPLICATION_MODAL = 1 << 16;
	static const int SYSTEM_MODAL = 1 << 17;
	static const int HIDE_SELECTION = 1 << 15;
	static const int FULL_SELECTION = 1 << 16;
	static const int FLAT = 1 << 23;
	static const int SMOOTH = 1 << 16;
	static const int NO_BACKGROUND = 1 << 18;
	static const int NO_FOCUS = 1 << 19;
	static const int NO_REDRAW_RESIZE = 1 << 20;
	static const int NO_MERGE_PAINTS = 1 << 21;
	static const int NO_RADIO_GROUP = 1 << 22;
	static const int LEFT_TO_RIGHT = 1 << 25;
	static const int RIGHT_TO_LEFT = 1 << 26;
	static const int MIRRORED = 1 << 27;
	static const int EMBEDDED = 1 << 24;
	static const int VIRTUAL = 1 << 28;
	static const int DOUBLE_BUFFERED = 1 << 29;
	//static const int TRANSPARENT = 1 << 30;
	static const int UP = 1 << 7;
	static const int UNDERLINE_SINGLE = 0;
	static const int UNDERLINE_DOUBLE = 1;
	static const int UNDERLINE_ERROR = 2;
	static const int UNDERLINE_SQUIGGLE = 3;
	static const int UNDERLINE_LINK = 4;
	static const int BORDER_SOLID = 1;
	static const int BORDER_DASH = 2;
	static const int BORDER_DOT = 4;
	static const int TOP = UP;
	static const int DOWN               = 1 << 10;
	static const int BOTTOM             = DOWN;
	static const int LEAD               = 1 << 14;
	static const int LEFT               = LEAD;
	static const int TRAIL              = 1 << 17;
	static const int RIGHT              = TRAIL;
	static const int CENTER = 1 << 24;
	static const int HORIZONTAL = 1 << 8;
	static const int VERTICAL = 1 << 9;
	static const int DATE = 1 << 5;
	static const int TIME = 1 << 7;
	static const int CALENDAR = 1 << 10;
	static const int SHORT = 1 << 15;
	static const int MEDIUM = 1 << 16;
	static const int LONG = 1 << 28;
	static const int MOZILLA = 1 << 15;
	static const int BALLOON = 1 << 12;
	static const int BEGINNING = 1;
	static const int FILL = 4;
	static const int DBCS = 1 << 1;
	static const int ALPHA = 1 << 2;
	static const int NATIVE = 1 << 3;
	static const int PHONETIC = 1 << 4;
	static const int ROMAN = 1 << 5;
	static const wchar_t BS = '\b';
	static const wchar_t CR = '\r';
	static const wchar_t DEL = 0x7F;
	static const wchar_t ESC = 0x1B;
	static const wchar_t LF = '\n';
	static const wchar_t TAB = '\t';
	static const int ALT = 1 << 16;
	static const int SHIFT = 1 << 17;
	static const int CTRL = 1 << 18;
	static const int CONTROL = CTRL;
	static const int COMMAND = 1 << 22;
	static const int MODIFIER_MASK = ALT | SHIFT | CTRL | COMMAND;
	static const int BUTTON1 = 1 << 19;
	static const int BUTTON2 = 1 << 20;
	static const int BUTTON3 = 1 << 21;
	static const int BUTTON4 = 1 << 23;
	static const int BUTTON5 = 1 << 25;
	static const int BUTTON_MASK = BUTTON1 | BUTTON2 | BUTTON3 | BUTTON4 | BUTTON5;
	static const int MOD1= CONTROL;
	static const int MOD2 = SHIFT;
	static const int MOD3= ALT;
	static const int MOD4 = 0;
	static const int SCROLL_LINE = 1;
	static const int SCROLL_PAGE = 2;
	static const int KEYCODE_BIT = (1 << 24);
	static const int KEY_MASK = KEYCODE_BIT + 0xFFFF;
	static const int ARROW_UP = KEYCODE_BIT + 1;
	static const int ARROW_DOWN = KEYCODE_BIT + 2;
	static const int ARROW_LEFT = KEYCODE_BIT + 3;
	static const int ARROW_RIGHT = KEYCODE_BIT + 4;
	static const int PAGE_UP = KEYCODE_BIT + 5;
	static const int PAGE_DOWN = KEYCODE_BIT + 6;
	static const int HOME = KEYCODE_BIT + 7;
	static const int END = KEYCODE_BIT + 8;
	static const int INSERT = KEYCODE_BIT + 9;
	static const int F1 = KEYCODE_BIT + 10;
	static const int F2 = KEYCODE_BIT + 11;
	static const int F3 = KEYCODE_BIT + 12;
	static const int F4 = KEYCODE_BIT + 13;
	static const int F5 = KEYCODE_BIT + 14;
	static const int F6 = KEYCODE_BIT + 15;
	static const int F7 = KEYCODE_BIT + 16;
	static const int F8 = KEYCODE_BIT + 17;
	static const int F9 = KEYCODE_BIT + 18;
	static const int F10 = KEYCODE_BIT + 19;
	static const int F11 = KEYCODE_BIT + 20;
	static const int F12 = KEYCODE_BIT + 21;
	static const int F13 = KEYCODE_BIT + 22;
	static const int F14 = KEYCODE_BIT + 23;
	static const int F15 = KEYCODE_BIT + 24;
	static const int F16 = KEYCODE_BIT + 25;
	static const int F17 = KEYCODE_BIT + 26;
	static const int F18 = KEYCODE_BIT + 27;
	static const int F19 = KEYCODE_BIT + 28;
	static const int F20 = KEYCODE_BIT + 29;
	static const int KEYPAD = 1 << 1;
	static const int KEYPAD_MULTIPLY = KEYCODE_BIT + 42;
	static const int KEYPAD_ADD = KEYCODE_BIT + 43;
	static const int KEYPAD_SUBTRACT = KEYCODE_BIT + 45;
	static const int KEYPAD_DECIMAL = KEYCODE_BIT + 46;
	static const int KEYPAD_DIVIDE = KEYCODE_BIT + 47;
	static const int KEYPAD_0 = KEYCODE_BIT + 48;
	static const int KEYPAD_1 = KEYCODE_BIT + 49;
	static const int KEYPAD_2 = KEYCODE_BIT + 50;
	static const int KEYPAD_3 = KEYCODE_BIT + 51;
	static const int KEYPAD_4 = KEYCODE_BIT + 52;
	static const int KEYPAD_5 = KEYCODE_BIT + 53;
	static const int KEYPAD_6 = KEYCODE_BIT + 54;
	static const int KEYPAD_7 = KEYCODE_BIT + 55;
	static const int KEYPAD_8 = KEYCODE_BIT + 56;
	static const int KEYPAD_9 = KEYCODE_BIT + 57;
	static const int KEYPAD_EQUAL = KEYCODE_BIT + 61;
	static const int KEYPAD_CR = KEYCODE_BIT + 80;
	static const int HELP = KEYCODE_BIT + 81;
	static const int CAPS_LOCK = KEYCODE_BIT + 82;
	static const int NUM_LOCK = KEYCODE_BIT + 83;
	static const int SCROLL_LOCK = KEYCODE_BIT + 84;
	static const int PAUSE = KEYCODE_BIT + 85;
	static const int BREAK = KEYCODE_BIT + 86;
	static const int PRINT_SCREEN = KEYCODE_BIT + 87;
	static const int ICON_ERROR = 1;
	static const int ICON_INFORMATION = 1 << 1;
	static const int ICON_QUESTION = 1 << 2;
	static const int ICON_WARNING = 1 << 3;
	static const int ICON_WORKING = 1 << 4;
	static const int ICON_SEARCH = 1 << 9;
	static const int ICON_CANCEL = 1 << 8;
	static const int OK = 1 << 5;
	static const int YES = 1 << 6;
	static const int NO = 1 << 7;
	static const int CANCEL = 1 << 8;
	static const int ABORT = 1 << 9;
	static const int RETRY = 1 << 10;
	//static const int	IGNORE = 1 << 11;
	static const int OPEN = 1 << 12;
	static const int SAVE = 1 << 13;
	static const int INHERIT_NONE = 0;
	static const int INHERIT_DEFAULT = 1;
	static const int INHERIT_FORCE = 2;
	static const int COLOR_WHITE = 1;
	static const int COLOR_BLACK = 2;
	static const int COLOR_RED = 3;
	static const int COLOR_DARK_RED = 4;
	static const int COLOR_GREEN = 5;
	static const int COLOR_DARK_GREEN = 6;
	static const int COLOR_YELLOW = 7;
	static const int COLOR_DARK_YELLOW = 8;
	static const int COLOR_BLUE = 9;
	static const int COLOR_DARK_BLUE = 10;
	static const int COLOR_MAGENTA = 11;
	static const int COLOR_DARK_MAGENTA = 12;
	static const int COLOR_CYAN = 13;
	static const int COLOR_DARK_CYAN = 14;
	static const int COLOR_GRAY = 15;
	static const int COLOR_DARK_GRAY = 16;
	static const int COLOR_WIDGET_DARK_SHADOW = 17;
	static const int COLOR_WIDGET_NORMAL_SHADOW = 18;
	static const int COLOR_WIDGET_LIGHT_SHADOW = 19;
	static const int COLOR_WIDGET_HIGHLIGHT_SHADOW = 20;
	static const int COLOR_WIDGET_FOREGROUND = 21;
	static const int COLOR_WIDGET_BACKGROUND = 22;
	static const int COLOR_WIDGET_BORDER = 23;
	static const int COLOR_LIST_FOREGROUND = 24;
	static const int COLOR_LIST_BACKGROUND = 25;
	static const int COLOR_LIST_SELECTION = 26;
	static const int COLOR_LIST_SELECTION_TEXT = 27;
	static const int COLOR_INFO_FOREGROUND = 28;
	static const int COLOR_INFO_BACKGROUND = 29;
	static const int COLOR_TITLE_FOREGROUND = 30;
	static const int COLOR_TITLE_BACKGROUND = 31;
	static const int COLOR_TITLE_BACKGROUND_GRADIENT = 32;
	static const int COLOR_TITLE_INACTIVE_FOREGROUND = 33;
	static const int COLOR_TITLE_INACTIVE_BACKGROUND = 34;
	static const int COLOR_TITLE_INACTIVE_BACKGROUND_GRADIENT = 35;
	static const int DRAW_TRANSPARENT = 1 << 0;
	static const int DRAW_DELIMITER = 1 << 1;
	static const int DRAW_TAB = 1 << 2;
	static const int DRAW_MNEMONIC = 1 << 3;	
	static const int DELIMITER_SELECTION = 1 << 17;
	static const int LAST_LINE_SELECTION = 1 << 20;
	static const int ERROR_UNSPECIFIED = 1;
	static const int ERROR_NO_HANDLES = 2;
	static const int ERROR_NO_MORE_CALLBACKS = 3;
	static const int ERROR_NULL_ARGUMENT = 4;
	static const int ERROR_INVALID_ARGUMENT = 5;
	static const int ERROR_INVALID_RANGE = 6;
	static const int ERROR_CANNOT_BE_ZERO = 7;
	static const int ERROR_CANNOT_GET_ITEM = 8;
	static const int ERROR_CANNOT_GET_SELECTION = 9;
	static const int ERROR_CANNOT_INVERT_MATRIX = 10;
	static const int ERROR_CANNOT_GET_ITEM_HEIGHT = 11;
	static const int ERROR_CANNOT_GET_TEXT = 12;
	static const int ERROR_CANNOT_SET_TEXT = 13;
	static const int ERROR_ITEM_NOT_ADDED = 14;
	static const int ERROR_ITEM_NOT_REMOVED = 15;
	static const int ERROR_NO_GRAPHICS_LIBRARY = 16;
	static const int ERROR_NOT_IMPLEMENTED = 20;
	static const int ERROR_MENU_NOT_DROP_DOWN = 21;
	static const int ERROR_THREAD_INVALID_ACCESS = 22;
	static const int ERROR_WIDGET_DISPOSED = 24;
	static const int ERROR_MENUITEM_NOT_CASCADE = 27;
	static const int ERROR_CANNOT_SET_SELECTION = 28;
	static const int ERROR_CANNOT_SET_MENU = 29;
	static const int ERROR_CANNOT_SET_ENABLED = 30;
	static const int ERROR_CANNOT_GET_ENABLED = 31;
	static const int ERROR_INVALID_PARENT = 32;
	static const int ERROR_MENU_NOT_BAR = 33;
	static const int ERROR_CANNOT_GET_COUNT = 36;
	static const int ERROR_MENU_NOT_POP_UP = 37;
	static const int ERROR_UNSUPPORTED_DEPTH = 38;
	static const int ERROR_IO = 39;
	static const int ERROR_INVALID_IMAGE = 40;
	static const int ERROR_UNSUPPORTED_FORMAT = 42;
	static const int ERROR_INVALID_SUBCLASS = 43;
	static const int ERROR_GRAPHIC_DISPOSED = 44;
	static const int ERROR_DEVICE_DISPOSED = 45;
	static const int ERROR_FAILED_EXEC = 46;
	static const int ERROR_FAILED_LOAD_LIBRARY = 47;
	static const int ERROR_INVALID_FONT = 48;
	static const int ERROR_FUNCTION_DISPOSED = 49;
	static const int ERROR_FAILED_EVALUATE = 50;
	static const int ERROR_INVALID_RETURN_VALUE = 51;
	static const int BITMAP = 0;
	static const int ICON = 1;
	static const int IMAGE_COPY = 0;
	static const int IMAGE_DISABLE = 1;
	static const int IMAGE_GRAY = 2;
	//static const int ERROR = 1;
	static const int PAUSED = 1 << 2;
	static const int NORMAL = 0;
	static const int BOLD = 1 << 0;
	static const int ITALIC = 1 << 1;
	static const int CURSOR_ARROW = 0;
	static const int CURSOR_WAIT = 1;
	static const int CURSOR_CROSS = 2;
	static const int CURSOR_APPSTARTING = 3;
	static const int CURSOR_HELP = 4;
	static const int CURSOR_SIZEALL = 5;
	static const int CURSOR_SIZENESW = 6;
	static const int CURSOR_SIZENS = 7;
	static const int CURSOR_SIZENWSE = 8;
	static const int CURSOR_SIZEWE = 9;
	static const int CURSOR_SIZEN = 10;
	static const int CURSOR_SIZES = 11;
	static const int CURSOR_SIZEE = 12;
	static const int CURSOR_SIZEW = 13;
	static const int CURSOR_SIZENE = 14;
	static const int CURSOR_SIZESE = 15;
	static const int CURSOR_SIZESW = 16;
	static const int CURSOR_SIZENW = 17;
	static const int CURSOR_UPARROW = 18;
	static const int CURSOR_IBEAM = 19;
	static const int CURSOR_NO = 20;
	static const int CURSOR_HAND = 21;
	static const int CAP_FLAT = 1;
	static const int CAP_ROUND = 2;
	static const int CAP_SQUARE = 3;
	static const int JOIN_MITER = 1;
	static const int JOIN_ROUND = 2;
	static const int JOIN_BEVEL = 3;
	static const int LINE_SOLID = 1;
	static const int LINE_DASH = 2;
	static const int LINE_DOT = 3;
	static const int LINE_DASHDOT = 4;
	static const int LINE_DASHDOTDOT = 5;
	static const int LINE_CUSTOM = 6;
	static const int PATH_MOVE_TO = 1;
	static const int PATH_LINE_TO = 2;
	static const int PATH_QUAD_TO = 3;
	static const int PATH_CUBIC_TO = 4;
	static const int PATH_CLOSE = 5;
	static const int FILL_EVEN_ODD = 1;
	static const int FILL_WINDING = 2;
	static const int IMAGE_UNDEFINED = -1;
	static const int IMAGE_BMP = 0;
	static const int IMAGE_BMP_RLE = 1;
	static const int IMAGE_GIF = 2;
	static const int IMAGE_ICO = 3;
	static const int IMAGE_JPEG = 4;
	static const int IMAGE_PNG = 5;
	static const int IMAGE_TIFF = 6;
	static const int IMAGE_OS2_BMP = 7;
	static const int DM_UNSPECIFIED = 0x0;
	static const int DM_FILL_NONE = 0x1;
	static const int DM_FILL_BACKGROUND = 0x2;
	static const int DM_FILL_PREVIOUS = 0x3;
	static const int TRANSPARENCY_NONE = 0x0;
	static const int TRANSPARENCY_ALPHA = 1 << 0;
	static const int TRANSPARENCY_MASK = 1 << 1;
	static const int TRANSPARENCY_PIXEL = 1 << 2;
	static const int MOVEMENT_CHAR = 1 << 0;
	static const int MOVEMENT_CLUSTER = 1 << 1;
	static const int MOVEMENT_WORD = 1 << 2;
	static const int MOVEMENT_WORD_END = 1 << 3;
	static const int MOVEMENT_WORD_START = 1 << 4;
	static const int ALL = 1 << 0;
};
